package com.usian.student.feign;

import com.usian.common.pojo.ResultVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("usian-ljk-class")
public interface ClassFeignService {

    @RequestMapping("class/info")
    public ResultVo info(@RequestParam("id") int id);

}
